//
//  SHSettingCell.m
//  SimpleHappy
//
//  Created by 张超 on 15/11/25.
//  Copyright © 2015年 RockyFung. All rights reserved.
//  自定义cell

#import "SHSettingCell.h"
#import "Define.h"

@implementation SHSettingCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        
        // cell左边文字
        self.leftTextLabel = [[UILabel alloc]initWithFrame:CGRectMake(KScreenWidth / 25, KScreenWidth / 75, KScreenWidth / 3, KScreenWidth / 7.5)];
        self.leftTextLabel.textAlignment = NSTextAlignmentLeft;
        [self.contentView addSubview:self.leftTextLabel];
        
        // cell右边文字
        self.rightTextBtn = [[UIButton alloc]initWithFrame:CGRectMake(KScreenWidth / 1.5, KScreenWidth / 75, KScreenWidth / 4, KScreenWidth / 7.5)];
        [self.rightTextBtn setTitleColor:[UIColor blackColor] forState:UIControlStateNormal];
        [self.contentView addSubview:self.rightTextBtn];
    }
    return self;
}

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
